class CreateUserTypeCategoryMaps < ActiveRecord::Migration
  def self.up
    rename_table "categories_user_types", "user_type_category_maps"
    add_column :user_type_category_maps, :relation_type, :integer
  end

  def self.down
    remove_column :user_type_category_maps, :relation_type
    rename_table "user_type_category_maps" , "categories_user_types"
  end
end
